home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20031118-20041115 / 000049_Chris@bundy.co.uk_Tue Dec 9 11:39:36 2003.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Path: newsmaster.cc.columbia.edu!phl-feed.news.verio.net!nntp1.tagonline.com!nycmny1-snf1.gtei.net!news.gtei.net!colt.net!diablo.theplanet.net!mephistopheles.news.clara.net!newspeer.clara.net!news.clara.net!echo.uk.clara.net
  2. From: Chris@bundy.co.uk
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: Re: Command line switches
  5. Date: Tue, 09 Dec 2003 12:49:48 +0000
  6. Sender: Chris
  7. Reply-To: Chris@bundy.co.uk
  8. Message-ID: <dogbtvo8mdk4hsenjjadeim47uajhc5dab@4ax.com>
  9. References: <pqp8tv06mim45q30h48du92s90oklut9sl@4ax.com> <slrnbt91s0.o2u.fdc@sesame.cc.columbia.edu> <820atvkrg5tk7hkv0bn4r840kv6ab17r61@4ax.com> <slrnbta2q0.2a2.fdc@sesame.cc.columbia.edu>
  10. X-Newsreader: Forte Agent 1.92/32.572
  11. MIME-Version: 1.0
  12. Content-Type: text/plain; charset=us-ascii
  13. Content-Transfer-Encoding: 7bit
  14. X-Complaints-To: abuse@clara.net (please include full headers)
  15. X-Trace: 600070707ed48080599afa10224068c5960b5baa22680040300868603fd5c4ef
  16. NNTP-Posting-Date: Tue, 09 Dec 2003 12:49:51 +0000
  17. Lines: 70
  18. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14726
  19.  
  20. On 8 Dec 2003 23:37:36 GMT, Frank da Cruz
  21. Frank
  22.  
  23. If I run the script stand alone it works great,
  24. thank you. Its when I try to run it at boot that I
  25. have problems.
  26.  
  27. I put the file I had created in phone.sh that I
  28. had created in /usr/local/etc/rc.d
  29.  
  30. server01# more  /usr/local/etc/rc.d/phone.sh
  31.  #!/bin/sh
  32.  /var/log/fred
  33.  exit
  34. server01#
  35.  
  36. the script never concludes therefore the remaining
  37. initialisation scripts never start.
  38.  
  39. I tried xterm  -e but it coughed as its running as
  40. root.
  41.  
  42. any thoughts would be appreciated.
  43.  
  44.  
  45. Chris
  46.  
  47. So close
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  <fdc@columbia.edu> wrote:
  56.  
  57. >In article <820atvkrg5tk7hkv0bn4r840kv6ab17r61@4ax.com>,
  58. >Chris@bundy.co.uk wrote:
  59. >: On 8 Dec 2003 14:15:28 GMT, Frank da Cruz
  60. >:<fdc@columbia.edu> wrote:
  61. >: 
  62. >: ive tried your script but I get a syntax error end
  63. >: of file unexpected expecting "then".
  64. >: 
  65. >Did you follow the instructions?  You have to put the
  66. >"kerbang" line on top so the shell can start your
  67. >Kermit executable to execute the script.  It sounds to
  68. >me like the shell is trying to execute the script
  69. >itself.
  70. >
  71. >: If I can explain a little more, Im actual trying
  72. >: to capture the data received at  the port to a
  73. >: file. I don't actually need to interact. if i want
  74. >: to see current activity I tail the log file. The
  75. >: data is generated by a call logger which I feed
  76. >: into the data port of my freebsd file server.
  77. >: 
  78. >The script I gave you should work for that.  If you
  79. >don't need see the stuff in real time, replace
  80. >CONNECT with INPUT -1 STRING_THAT_WILL_NEVER_COME.
  81. >
  82. >Again, see:
  83. >
  84. >  http://www.columbia.edu/kermit/ckscripts.html
  85. >
  86. >about "kerbang" scripts.
  87. >
  88. >- Frank
  89.  
  90.